import React, { Component } from 'react'
import './Modal.scss'
export default class Modal extends Component {
  render() {
    return (
      <div className='modal-box'>
        <div className='modal-title'>
            <div>{this.props.title}</div>
            <div>&times;</div>
        </div>
        <div className='modal-body'>
            {this.props.children}
        </div>
      </div>
    )
  }
}
